{template 'common/header'}

<style>

.category{display:block; overflow:hidden; background:#EEE;}
.category a{display:inline-block; overflow:hidden; height:30px; line-height:30px; width:33.33%; text-align:center; color:#666; font-size:14px; float:left; padding:0 5px;}
.list li a{display:block; height:71px; padding:10px 2% 10px 2%; border-bottom:1px #EEE solid; color:#333; overflow:hidden; text-decoration:none !important; position:relative;}
.list li a .thumb{width:25%; }
.list li a .title{font-size:14px; padding-right:90px;}
.list li a .createtime{font-size:12px; color:#999;padding: 0 0 0 5px ;}

.head{height:40px; line-height:40px; background:#fc8800; padding:0 5px; color:#FFF;
position:fixed;bottom:0px;width:100%;z-index:999;}

.head .bn{display:inline-block; height:30px; line-height:30px; padding:0 7%; margin-top:4px; font-size:20px; background:transparent; color:#FFF; text-decoration:none;}

.head .bn.pull-left{border-right:1px solid #fff;}

.head .bn.pull-right{position:absolute; right:5px; top:0; border-left:0px solid #fff;}

.head .title{font-size:14pt;display:block;padding-left:10px;font-weight:bolder;margin-right:49px;text-align:center;height:40px;line-height:40px;text-overflow:ellipsis;white-space:nowrap;overflow: hidden;}

.head .order{background:#F9F9F9; position:absolute; z-index:9999; right:0;   bottom: 30px;}

.head .order li > a{display:block; padding:0 10px; min-width:100px; height:35px; line-height:35px; font-size:16px; color:#333; text-decoration:none; border-top:1px #EEE solid;}

.head .order li.fa-caret-up{font-size:20px;color:#F9F9F9;position:absolute;top:-11px;right:16px;}

.pager-position{width:100%;margin:0 auto;text-align:center;}
.pull-right{
 float:left;!important;
 width:20%;
}
.rightConten{
float:left;
padding:0 0 0 3%;
text-align:left;
width:70%;
font-size:15px;

}
.pager-position{width:100%;margin:0 auto;text-align:center;}


</style>



<div class="category">
	{data module="site" func="site_category" parentid="$cid"}
	<a href="{$row['linkurl']}">{$row['name']}</a>
	{/data}
</div>
<ul class="list list-unstyled">
	{data module="site" func="site_article" cid="$cid" assign="result" return="true"}
	{loop $result['list'] $row}
	<li>
		<a href="{$row['linkurl']}">
			{if $row['thumb']}<img src="{$row['thumb']}" class="pull-right thumb" onerror="this.parentNode.removeChild(this)" />{/if}
			<div class="rightConten">
			<div class="title2">{php echo cutstr($row['title'],25,1);}</div>
	
			<div class="createtime">{php echo date('Y-m-d H:i:s', $row['createtime'])}</div>
			<!--<div class="createtime">{$detail['content']}</div>-->
			</div>
		</a>
	</li>
	{/loop}
</ul>

<div class="pager-position">{$result['pager']}</div>

{template 'common/footer'}